<?php /* @var $this Controller */ ?>
<?php $this->beginContent('//layouts/main'); ?>
<div id="content">

	<?php /* Mensagem de Sucesso/Erro */?>
	<?php if (Yii::app()->user->hasFlash('success')): ?>
		<div class="flash-success"><?php echo Yii::app()->user->getFlash('success'); ?></div>
	<?php elseif (Yii::app()->user->hasFlash('error')): ?>
		<div class="flash-error"><?php echo Yii::app()->user->getFlash('error'); ?></div>
	<?php endif; ?>
	<?php /* Fim da Mensagem */?>

	<?php echo $content; ?>
</div><!-- content -->

<?php $this->endContent(); ?>